import { http } from "../utils/request";

// 获取请求up主列表
export const upListRequest = (data?: any) =>
  http({
    url: "/api/BSiteUp/search",
    data,
  });
/**
 * @description  根据mid获取up主信息
 */
export const upInfoByMidRequest = (data?: any) =>
  http({
    url: "/api/BSiteUp",
    data,
  });

/**
 * @description  根据mid添加关注的up主
 */
export const upFlowByMidRequest = (data?: any) =>
  http({
    url: "/api/BSiteFollowingUp",
    method: "POST",
    data,
  });

/**
 * @description  根据mid获取UP主差量数据
 */
export const upCoreDataByMidRequest = (data?: any) =>
  http({
    url: "/api/BSiteUp/core-analysis",
    data,
  });
